package top.fengyulou.xiaofeng.mapper;

import top.fengyulou.xiaofeng.domain.ExamUser;
import top.fengyulou.xiaofeng.dto.ExamUserDto;
import top.fengyulou.xiaofeng.dto.UserDto;

import java.util.List;

public interface ExamUserMapper {
    List<UserDto> list(UserDto userDto);

    UserDto getById(String id);

    void insertBatch(List<ExamUser> list);

    void delete(String[] ids);

    void deleteByExamIds(String[] examIds);

    Long countByExamId(String examId);

    List<String> getUserIdListByExamId(String examId);

    void updateStatus(String id);
}